#include "orangepch.h"
#include "Log.h"

namespace Orange
{
    std::shared_ptr<spdlog::logger> Log::m_Core_Logger;
    std::shared_ptr<spdlog::logger> Log::m_Client_Logger;

    void Log::Init()
    {
        spdlog::set_pattern("%^[%T] %n: %v%$");

        Log::m_Core_Logger = spdlog::stdout_color_mt("Engine");
        Log::m_Core_Logger->set_level(spdlog::level::trace);

        Log::m_Client_Logger = spdlog::stdout_color_mt("Application");
        Log::m_Client_Logger->set_level(spdlog::level::trace);
    }
}